/*
 * @Author: gavindon
 * @LastEditors: gavindon 530893850@qq.com
 * @Date: 2023-04-13 15:03:55
 * @LastEditTime: 2023-04-13 17:10:44
 * @Description: 后台响应code非0类
 */

export default class ResponseError extends Error {

    constructor(
        code?: string,
        message?: string,
    ) {
        super(message)
        this.name = "ResponseError";
    }

    code?: string;
    cause?: Error;




}